package com.motion.design.stratege;

public class Client {

    public static void main(String[] args) {
        Strategy spring = new SpringStrategy();
        Strategy middleMoon = new MiddleMoonStrategy();
        StrategyContext context = new StrategyContext();
        context.setStrategy(spring);
        context.doSale();

        context.setStrategy(middleMoon);
        context.doSale();


    }
}
